<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ page import="MassageController.Massage.MassageBean" %>
<%
request.setCharacterEncoding("UTF-8");

MassageBean Out = (MassageBean)request.getAttribute("Out");

String OutPage = (String)request.getAttribute("OutPage");

String OutPageArea = (String)request.getAttribute("OutPageArea");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5); charset=UTF-8">
<title>Content</title>
<link rel="stylesheet" type="text/css" href="/KOMORIUTA/css/Massage.css"></link>

<script src="/KOMORIUTA/Massage/jquery.js" type="text/JavaScript"></script>
<script src="/KOMORIUTA/Massage/Ms_Script.js" type="text/JavaScript"></script>
</head>
<body>

<form name="form1" method="post" action="">
<div id="bbs">
  <table width="411" height="402" border="0">
    <tr> 
      <td width="131" height="106">
 			<table width="123" height="146" id="border">
              <tr>
                <td height="83"><div align="center"><img src="/KOMORIUTA/Massage/image/Massage.gif" ></div></td>
              </tr>
            </table>
	  </td>
      <td width="290">
		<div id="toptitle">
          <dl>
          	<dt class="to">受信人</dt>
          	<dt class="com"><input name="To" type="text" value="<%=Out.getMsgTo()%>" readonly ></dt>
          </dl>
        </div>
        <div id="tit">
          <dl>
          	<dt class="from">作成日</dt>
          	<dt class="com"><input name="Form" type="text" value="<%=Out.getMsgDate()%>" readonly ></dt>
          </dl>
        </div>         
          <table width="290" id="border">
            <tr>
              <td width="290" height="80" align="center">広告性メッセージ は制裁を貰います。<br />気を付けて下さい。</td>
            </tr>
          </table>
        </td>
    </tr>
    <tr> 
      <td height="203" colspan="2"><textarea name="textarea" cols="50" rows="10" readonly><%=Out.getMsgContents() %></textarea>
     </td>
    </tr>
    <tr> 
      <td height="42" colspan="2"><div align="center"> 
          <input type="button" onclick="PageGo('<%=Out.getMsgTo()%>',<%=OutPage%>,<%=OutPageArea%>,'<%=session.getId()%>');" value="戻る"></div>
      </td>
    </tr>
  </table>
</div>
</form>
</body>
</html>